home *** CD-ROM | disk | FTP | other *** search
- from JascApp import *
-
- def ScriptProperties():
- return {
- 'Author': 'Kris Zaklika',
- 'Copyright': 'Copyright (C) 2002-2003, Jasc Software Inc., All Rights Reserved.',
- 'Description': 'Enlargement of a section of the image. Original idea: Angela M. Cable.',
- 'Host': 'Paint Shop Pro',
- 'Host Version': '8.00'
- }
-
- def Preset_MagnifyingLens():
- return {
- 'Bound': (0.17125,0.0616667,0.82375,0.931667),
- 'Darkness': 100,
- 'Defocus': 10,
- 'Frame': {
- 'FrameColor': (255,255,255),
- 'Material': App.Constants.LensFrameMaterial.ClearPlastic,
- 'Style': App.Constants.LensFrameShape.Circular,
- 'Thickness': 1
- },
- 'Illumination': {
- 'LightList': [{
- 'LightColor': (211,100,0),
- 'LightDirection': (0.4467,0.0021,0.6113),
- 'HighlightSize': 20
- }],
- 'MaxAmbience': 44,
- 'MinAmbience': 44
- },
- 'LensSurface': {
- 'EnvironmentMap': {
- 'Active': App.Constants.Boolean.false
- },
- 'Gloss': 5,
- 'Magnification': 83,
- 'LensMaterial': {
- 'Color': (151,205,145),
- 'Pattern': None,
- 'Gradient': None,
- 'Texture': None
- },
- 'LensOpacity': 4,
- 'Refraction': 5,
- 'ShapeType': App.Constants.LensShape.HCylindrical,
- 'Shininess': 53
- }
- }
-
- def Do(Environment):
- App.Do( Environment, 'MagnifyingLens', Preset_MagnifyingLens())
-
-